/*
 * Copyright 2013-2015 the original author or authors.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.xdtech.hotel.protocol.vo;

/**
 * 
 * @author max.zheng
 * @create 2015-4-27下午9:52:07
 * @since 1.0
 * @see
 */
public class Dimmer extends Component{
	private String status;  //: “on” , #可选参数：on/off/blink-开/关/闪烁； 
	private String freq;    // : “0” , #可选参数：0-n,闪烁频率，单位秒； 
	private String delay;   //: “0”, #可选参数：0-n,延时时间，单位秒； 
	private String value;   // : “0” #可选参数：0-100%； 
	
	public Dimmer() {
		super();
	}
	
	public Dimmer(String addr, String channel, String status, String freq,
			String delay, String value) {
		super(addr, channel);
		this.status = status;
		this.freq = freq;
		this.delay = delay;
		this.value = value;
	}

	
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getFreq() {
		return freq;
	}
	public void setFreq(String freq) {
		this.freq = freq;
	}
	public String getDelay() {
		return delay;
	}
	public void setDelay(String delay) {
		this.delay = delay;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	
	

}
